home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TPUG - Toronto PET Users Group
/
TPUG Users Group CD
/
TPUG Users Group CD.iso
/
C64
/
M-More Monthly Disks
/
(c)ma.d64
/
art show.c
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2007-02-04
|
2KB
|
67 lines
1 REM ART SHOW FOR DIGITIZED PICTURES
2 REM BY STEPHEN MURRI.
3 REM
4 REM SPECIAL THANKS TO FRANK COVITZ
5 REM FOR DESIGNING THE DIGITIZER.
6 REM
7 REM THIS SHOW PUT TOGETHER ON JUNE 8
8 REM BY DAVID BRADLEY AT CEDAR GLEN.
9 REM
10 REM SPRITES AT $3F80
11 REM DISSOLVE ROUTINES AT $C000
17 IFX=0THENPOKE53280,6:POKE53281,6:PRINT"[147]COMMODORE 64 ART SHOW"
19 IFX=0THENX=1:PRINT"LOADING ..."
20 IFX=1THENX=2:LOAD"LOGO.D",8,1
22 IFX=2THENX=3:LOAD"DISSOLVE.D",8,1
25 IFX=3THENPOKE55,0:POKE56,31:CLR:X=4:GOTO2000
30 IFX=4THENX=5:POKE53280,0:POKE53281,0:GOTO50
40 IFX=5THEN130
50 PRINT"[147] PRESS ANY KEY TO START"
51 GETA$:IFA$=""THEN51
52 PRINT"[147]":FORT=0TO500:NEXT:GOTO60
60 REM MAIN LOOP
61 GOSUB1000:REM TITLE SCREEN
100 SYS34592:REM SET UP MC BITMAP MODE
105 FORT=0TO100:NEXT
110 SYS34592+3:REM DISSOLVE IN SCREEN
120 GOTO2000:REM LOAD NEXT FILE
130 SYS34592+6:REM DISSOLVE OUT
140 REM
150 IFE=1THEN9000:REM END OF STREAM
160 GOTO100
1000 SYS34592+9:REM RESTORE TEXT MODE
1005 POKE2040,254:REM SPRITE POINTER
1010 POKE2041,255:REM SPRITE POINTER
1020 VIC=53248
1030 POKEVIC+39,6:REM COLOR 0
1040 POKEVIC+40,2:REM COLOR 1
1050 POKEVIC+29,0:REM X EXPAND OFF
1060 POKEVIC+28,0:REM MCM OFF
1070 POKEVIC+23,0:REM Y EXPAND OFF
1080 POKEVIC+16,0:REM MSB X OFF
1090 POKEVIC+1,136:REM Y LOCATION 0
1100 POKEVIC+3,136:REM Y LOCATION 1
1110 POKEVIC+0,128:REM X LOCATION 0
1120 POKEVIC+2,128:REM X LOCATION 1
1130 POKEVIC+21,3:REM TURN ON
1150 PRINT"[147] COMMODORE 64"
1160 PRINT" ART SHOW"
1165 FORT=0TO2500:NEXT
1166 POKEVIC+21,0:REM SPRITES OFF
1170 RETURN
2000 IFN=0THENF$="A GRAPHICS"
2001 IFN=1THENF$="B GIRL ":REM FROM PASSION MAGAZINE
2003 IFN=2THENF$="D ETLANOCE":REM FROM PAINTING BY RUSS WARREN
2004 IFN=3THENF$="H STARSAOK":REM BY DAVID BRADLEY
2005 IFN=4THENF$="F ODEON ":REM FROM PASSION MAGAZINE
2006 IFN=5THENF$="G MOON "
2007 IFN=6THENF$="L CFTR 4 ":REM BY DAVID BRADLEY
2010 IFN=7THENF$="J THATSIT "
2019 IFN=8THENF$="A GRAPHICS":E=1
2200 FI$=CHR$(129)+"PIC "+F$
2205 N=N+1
2210 LOADFI$,8,1
2220 END
9000 SYS34592+9:REM RESTORE TEXT MODE
9100 CLR:N=1:X=5:GOTO60